package com.lagou.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 存储mapper中每条sql的信息
 *
 * @author srh
 * @date 2020/02/22
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MapperStatement implements Serializable {

    /**
     * namespaceId + selectId
     */
    private String id;

    /**
     * parameterType
     */
    private Class<?> parameterType;

    /**
     * resultType
     */
    private Class<?> resultType;

    /**
     * sql
     */
    private String sql;
}
